\section{DAO.userinfoDao类参考}
\label{class_d_a_o_1_1userinfo_dao}\index{DAO::userinfoDao@{DAO::userinfoDao}}
\subsection*{公有成员}
\begin{DoxyCompactItemize}
\item 
IList$<$ {\bf userinfo} $>$ {\bfseries FindAllByPage\_\-userinfo} (string start, string limit, string conditions)\label{class_d_a_o_1_1userinfo_dao_a393be49058b41131d5f7f8f6b86559af}

\item 
string {\bf GetCount\_\-userinfo} (string conditions)
\begin{DoxyCompactList}\small\item\em 查找符合条件记录的总条数，共分页使用 \item\end{DoxyCompactList}\item 
int {\bf GetMaxId} ()
\item 
bool {\bf Exists} (int userid)
\begin{DoxyCompactList}\small\item\em 是否存在该记录 \item\end{DoxyCompactList}\item 
bool {\bf Add\_\-userinfo} ({\bf userinfo} model)
\begin{DoxyCompactList}\small\item\em 增加一条数据 \item\end{DoxyCompactList}\item 
bool {\bf Update\_\-userinfo} ({\bf userinfo} model)
\begin{DoxyCompactList}\small\item\em 更新一条数据 \item\end{DoxyCompactList}\item 
bool {\bf Del\_\-userinfo} ({\bf userinfo} {\bf userinfo})
\begin{DoxyCompactList}\small\item\em 删除一条数据 \item\end{DoxyCompactList}\item 
{\bf userinfo} {\bf FindById\_\-userinfo} (int id)
\begin{DoxyCompactList}\small\item\em 根据id查找相应的一条记录 \item\end{DoxyCompactList}\item 
{\bf userinfo} {\bf FindById\_\-userinfo} (string userid)
\begin{DoxyCompactList}\small\item\em 得到一个对象实体 \item\end{DoxyCompactList}\item 
IList$<$ {\bf userinfo} $>$ {\bf FindAll\_\-userinfo} (string strWhere)
\begin{DoxyCompactList}\small\item\em 获得数据列表 \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{成员函数文档}
\index{DAO::userinfoDao@{DAO::userinfoDao}!Add\_\-userinfo@{Add\_\-userinfo}}
\index{Add\_\-userinfo@{Add\_\-userinfo}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{Add\_\-userinfo}]{\setlength{\rightskip}{0pt plus 5cm}bool DAO.userinfoDao.Add\_\-userinfo (
\begin{DoxyParamCaption}
\item[{{\bf userinfo}}]{ model}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_a70471f08d79eebd88ba39a8e0b2cda6b}


增加一条数据 

\index{DAO::userinfoDao@{DAO::userinfoDao}!Del\_\-userinfo@{Del\_\-userinfo}}
\index{Del\_\-userinfo@{Del\_\-userinfo}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{Del\_\-userinfo}]{\setlength{\rightskip}{0pt plus 5cm}bool DAO.userinfoDao.Del\_\-userinfo (
\begin{DoxyParamCaption}
\item[{{\bf userinfo}}]{ userinfo}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_aae6c7b33bac0cb94282af6907904fadf}


删除一条数据 

\index{DAO::userinfoDao@{DAO::userinfoDao}!Exists@{Exists}}
\index{Exists@{Exists}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{Exists}]{\setlength{\rightskip}{0pt plus 5cm}bool DAO.userinfoDao.Exists (
\begin{DoxyParamCaption}
\item[{int}]{ userid}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_a7e52c84b2117e81d9aa852aa5d9dd053}


是否存在该记录 

\index{DAO::userinfoDao@{DAO::userinfoDao}!FindAll\_\-userinfo@{FindAll\_\-userinfo}}
\index{FindAll\_\-userinfo@{FindAll\_\-userinfo}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{FindAll\_\-userinfo}]{\setlength{\rightskip}{0pt plus 5cm}IList$<${\bf userinfo}$>$ DAO.userinfoDao.FindAll\_\-userinfo (
\begin{DoxyParamCaption}
\item[{string}]{ strWhere}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_a82547060b95cc77edded0d7ccb9d1bab}


获得数据列表 

\index{DAO::userinfoDao@{DAO::userinfoDao}!FindById\_\-userinfo@{FindById\_\-userinfo}}
\index{FindById\_\-userinfo@{FindById\_\-userinfo}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{FindById\_\-userinfo}]{\setlength{\rightskip}{0pt plus 5cm}{\bf userinfo} DAO.userinfoDao.FindById\_\-userinfo (
\begin{DoxyParamCaption}
\item[{int}]{ id}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_a5435e4ae207c721add8bbbda8638905b}


根据id查找相应的一条记录 


\begin{DoxyParams}{参数}
{\em id} & 要查找的ID号\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回值
\end{DoxyReturn}
\index{DAO::userinfoDao@{DAO::userinfoDao}!FindById\_\-userinfo@{FindById\_\-userinfo}}
\index{FindById\_\-userinfo@{FindById\_\-userinfo}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{FindById\_\-userinfo}]{\setlength{\rightskip}{0pt plus 5cm}{\bf userinfo} DAO.userinfoDao.FindById\_\-userinfo (
\begin{DoxyParamCaption}
\item[{string}]{ userid}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_a7757edca5a7c3688f841387ee228dbac}


得到一个对象实体 

\index{DAO::userinfoDao@{DAO::userinfoDao}!GetCount\_\-userinfo@{GetCount\_\-userinfo}}
\index{GetCount\_\-userinfo@{GetCount\_\-userinfo}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{GetCount\_\-userinfo}]{\setlength{\rightskip}{0pt plus 5cm}string DAO.userinfoDao.GetCount\_\-userinfo (
\begin{DoxyParamCaption}
\item[{string}]{ conditions}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_ac3407442887921534caaca18111dc1ce}


查找符合条件记录的总条数，共分页使用 


\begin{DoxyParams}{参数}
{\em limit} & \\
\hline
{\em conditions} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{DAO::userinfoDao@{DAO::userinfoDao}!GetMaxId@{GetMaxId}}
\index{GetMaxId@{GetMaxId}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{GetMaxId}]{\setlength{\rightskip}{0pt plus 5cm}int DAO.userinfoDao.GetMaxId (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_ae6b7a050303074889f10621a1e9c1c9e}
得到最大ID \index{DAO::userinfoDao@{DAO::userinfoDao}!Update\_\-userinfo@{Update\_\-userinfo}}
\index{Update\_\-userinfo@{Update\_\-userinfo}!DAO::userinfoDao@{DAO::userinfoDao}}
\subsubsection[{Update\_\-userinfo}]{\setlength{\rightskip}{0pt plus 5cm}bool DAO.userinfoDao.Update\_\-userinfo (
\begin{DoxyParamCaption}
\item[{{\bf userinfo}}]{ model}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1userinfo_dao_aeebef1252f57a0a02cae7701c5dc6880}


更新一条数据 



该类的文档由以下文件生成：\begin{DoxyCompactItemize}
\item 
D:/Project/1101/DAO/userinfoDao.cs\end{DoxyCompactItemize}
